![]() |
Kinetis SDK Demo Applications User Guide
1.0.0-beta
Freescale Semiconductor, Inc.
|
#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | lowPowerAdcBoundaries_t |
| Boundaries struct. More... | |
Functions | |
| void | init_hardware (void) |
| Initialize Clock Manager for PORT, ADC, and LPTIMER. More... | |
| void | LowPowerTimerIRQHandler (void) |
| Low Power Timer Interrupt handler. Clear LPT Compare flag. More... | |
| void | ADC1IRQHandler (void) |
| ADC Interrupt handler. Get current ADC value and set conversionCompleted flag. More... | |
| void | InitLowPowerTmr (void) |
| Initialize Low Power Timer. Use 1 kHz LPO with no preescaler and enable LPT interrupt. More... | |
| uint32_t | GetCurrentTempValue (void) |
| Calculate current temperature. More... | |
| lowPowerAdcBoundaries_t | TempSensorCalibration (uint32_t updateBoundariesCounter, uint32_t *tempArray) |
| Calculate current temperature. More... | |
| void ADC1IRQHandler | ( | void | ) |
| uint32_t GetCurrentTempValue | ( | void | ) |
| void init_hardware | ( | void | ) |
Conversion is completed Flag
| void InitLowPowerTmr | ( | void | ) |
| void LowPowerTimerIRQHandler | ( | void | ) |
| lowPowerAdcBoundaries_t TempSensorCalibration | ( | uint32_t | updateBoundariesCounter, |
| uint32_t * | tempArray | ||
| ) |
| updateBoundariesCounter | Indicate number of values into tempArray. |
| tempArray | Store temperature value. |